﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;

namespace NetCoreConfigIntroduce.Options
{
    public class Option2
    {
        public Option2(IConfiguration configuration)
        {
            Name = configuration["Name"];
            FunctionIds = configuration["FunctionIds"].Split(',');
        }

        public string Name { get; set; }
        public string[] FunctionIds { get; set; }
    }
}
